﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace QueryCommon
{
    public class QueryResult
    {
    }

    [DataContract(Namespace = "QueryCommon")]
    public class VoyageClass : CYClass
    {
        [DataMember]
        public bool Sail { get; set; }
        [DataMember]
        public bool Sell { get; set; }
        [DataMember]
        public string Leave { get; set; }
        [DataMember]
        public bool Rest { get; set; }
    }

    [DataContract(Namespace = "QueryCommon")]
    public class CYClass : ResultBase
    {
        [DataMember]
        public string CName { get; set; }
        [DataMember]
        public string YName { get; set; }
    }

    [DataContract(Namespace = "QueryCommon")]
    public class ResultBase
    {
        [DataMember]
        public int PageNumber { get; set; }
    }

}
